﻿<!--                                                             -->
<!-- Copyright (C) Microsoft Corporation. All rights reserved.   -->
<!--                                                             -->


<Window x:Class="Microsoft.LibraryManagerDemo.Controls.ViewHost"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ViewHost"
    WindowStartupLocation="CenterOwner"
    WindowStyle="None"
    AllowsTransparency="True"
    Background="Transparent"
    Foreground="{DynamicResource Brush_ToolBarForeground}">
    
    <Border Background="{DynamicResource Brush_StandardBackground}"
            CornerRadius="6"
            Padding="4">
        
        <Border.Effect>
            <DropShadowEffect Opacity="0.4" BlurRadius="4" ShadowDepth="2" />
        </Border.Effect>
    
        <DockPanel>
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" HorizontalAlignment="Center" Height="35">
                <Button IsDefault="True" Margin="4" Content="OK" Click="ButtonOK_Click" />
                <Button IsCancel="True" Margin="4" Content="Cancel" />
            </StackPanel>
            
            <ContentControl Content="{Binding View}" />
        </DockPanel>        
                
    </Border>
    
</Window>
